<ion-header>
  <ion-navbar>
    <ion-title>掌上民大</ion-title>
  </ion-navbar>
</ion-header>

<ion-content>

    <ion-slides autoplay="2000" loop="true" *ngIf="cl.length>0">
        <ion-slide *ngFor="let c of cl" (click)="goToCarouselDetail(c)">
          <img src="{{c.pic}}"/>
          <div class="cover"></div>
          <span class="title">{{c.content}}</span>
        </ion-slide>
      </ion-slides>


      <ion-list>
          <ion-item *ngFor="let n of nl" (click)="goToNewsDetail(n)">
            <ion-thumbnail item-start>
              <!-- <img src="{{PICHOST}}{{n.coverpic}}"> -->
              <img src="{{n.coverpic}}" style="border-radius: 60%;">
            </ion-thumbnail>
            <h2>{{n.title}}</h2>
            <p>摘要</p>
          </ion-item>
        </ion-list>


  <!-- <ion-list>
    <ion-item *ngFor="let item of nl" (click)="goToNewsDetail(item)">
      <h5>{{item.title}}</h5>
    </ion-item>
  </ion-list> -->


</ion-content>
